package com.wanma.recuit.mapper;


import com.wanma.recuit.pojo.CompanyUser;
import org.apache.ibatis.annotations.Param;

public interface CompanyUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CompanyUser record);

    int insertSelective(CompanyUser record);

    CompanyUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CompanyUser record);

    int updateByPrimaryKey(CompanyUser record);

    String findUserPhone(String userPhone);
    void registCompanyUser(CompanyUser companyUser);
    CompanyUser loginCompanyUser(CompanyUser companyUser);
    void  putCompanyId(@Param("companyUser") CompanyUser companyUser);
}